package com.dt76.smallloanbackenduser.hystrix.etao;

import com.dt76.smallloanbackenduser.pojo.etao.CurrentUser;
import com.dt76.smallloanbackenduser.pojo.etao.LoginLog;
import com.dt76.smallloanbackenduser.remote.etao.LoginRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import com.dt76.smallloanbackenduser.utils.Result;
import org.springframework.stereotype.Component;

@Component
public class LoginHystrix implements LoginRemote {
    @Override
    public CurrentUser doLogin(String empLoginName, String empPasswrod) {
        return new CurrentUser();
    }

    @Override
    public Result addLoginMsg(LoginLog loginLog) {
        return new Result();
    }

    @Override
    public Page getLogin(Integer pageNum, String empName, String startTime, String endTime) {
        return new Page();
    }
}
